package com.baoteng.rbspy.model.response.quote;

import com.baoteng.rbspy.model.Id;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
@JsonInclude(Include.NON_EMPTY)
public class PrpCprofitDetails {
	Integer index;
	private String profitName;
	private String kindName;
	private String chooseFlag;
	private Integer profitRateMin;
	private Double fieldValue;
	private String flag;
	private Id id;
	private String kindCode;
	private String prpCprofit;
	private Double profitPeriod;
	private String operateTimeForHis;
	private String riskCode;
	private String condition;
	private String insertTimeForHis;
	private String conditionCode;
	private Integer profitRateMax;
	private Integer profitRate;

	public Integer getIndex() {
		return index;
	}

	public void setIndex(Integer index) {
		this.index = index;
	}

	public Double tempRate(){
		return profitRate!=null?(profitRate.doubleValue()/100):null;
	}
	
	public String getProfitName() {
		return profitName;
	}

	public void setProfitName(String profitName) {
		this.profitName = profitName;
	}

	public String getKindName() {
		return kindName;
	}

	public void setKindName(String kindName) {
		this.kindName = kindName;
	}

	public String getChooseFlag() {
		return chooseFlag;
	}

	public void setChooseFlag(String chooseFlag) {
		this.chooseFlag = chooseFlag;
	}

	public Integer getProfitRateMin() {
		return profitRateMin;
	}

	public void setProfitRateMin(Integer profitRateMin) {
		this.profitRateMin = profitRateMin;
	}

	public Double getFieldValue() {
		return fieldValue;
	}

	public void setFieldValue(Double fieldValue) {
		this.fieldValue = fieldValue;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public Id getId() {
		return id;
	}

	public void setId(Id id) {
		this.id = id;
	}

	public String getKindCode() {
		return kindCode;
	}

	public void setKindCode(String kindCode) {
		this.kindCode = kindCode;
	}

	public String getPrpCprofit() {
		return prpCprofit;
	}

	public void setPrpCprofit(String prpCprofit) {
		this.prpCprofit = prpCprofit;
	}

	public Double getProfitPeriod() {
		return profitPeriod;
	}

	public void setProfitPeriod(Double profitPeriod) {
		this.profitPeriod = profitPeriod;
	}

	public String getOperateTimeForHis() {
		return operateTimeForHis;
	}

	public void setOperateTimeForHis(String operateTimeForHis) {
		this.operateTimeForHis = operateTimeForHis;
	}

	public String getRiskCode() {
		return riskCode;
	}

	public void setRiskCode(String riskCode) {
		this.riskCode = riskCode;
	}

	public String getCondition() {
		return condition;
	}

	public void setCondition(String condition) {
		this.condition = condition;
	}

	public String getInsertTimeForHis() {
		return insertTimeForHis;
	}

	public void setInsertTimeForHis(String insertTimeForHis) {
		this.insertTimeForHis = insertTimeForHis;
	}

	public String getConditionCode() {
		return conditionCode;
	}

	public void setConditionCode(String conditionCode) {
		this.conditionCode = conditionCode;
	}

	public Integer getProfitRateMax() {
		return profitRateMax;
	}

	public void setProfitRateMax(Integer profitRateMax) {
		this.profitRateMax = profitRateMax;
	}

	public Integer getProfitRate() {
		return profitRate;
	}

	public void setProfitRate(Integer profitRate) {
		this.profitRate = profitRate;
	}

}
